// {
//   path: '/test',
//   name: 'TestView',
//   meta: {
//     icon: '',
//     link: '',
//     title: '',
//     noCache: true,
//     breadcrumb: false,
//     activeMenu: ''
//   },
//   query: '',
//   roles: [],
//   hidden: true,
//   redirect: '',
//   permissions: [],
//   component: () => import('@/views/login/LoginView.vue')
// },
const SystemRoutes = [
  {
    path: '/system',
    name: 'System',
    meta: {
      icon: 'system',
      link: null,
      title: '系统管理',
      noCache: false,
    },
    hidden: false,
    component: () => import('@/layout/index.vue'),
    alwaysShow: true,
    children: [
      // {
      //   path: 'v-form-render',
      //   name: 'VFormRenderView',
      //   meta: {
      //     icon: 'skill',
      //     link: null,
      //     title: '表单渲染器',
      //     noCache: false,
      //   },
      //   component: () => import('@/views/vform/VFormRenderView.vue')
      // },
      {
        path: 'v-form-table',
        name: 'VFormTableView',
        meta: {
          icon: 'skill',
          link: null,
          title: '表单管理',
          noCache: false,
        },
        component: () => import('@/views/vform/VFormTableView.vue')
      },
      {
        path: 'workflowView',
        name: 'WorkflowView',
        meta: {
          icon: 'color',
          link: null,
          title: '工作流管理',
          noCache: false,
        },
        component: () => import('@/views/workflow/WorkflowView.vue')
      },
      
      {
        path: 'cache-list',
        name: 'CacheListView',
        meta: {
          icon: 'color',
          link: null,
          title: '缓存列表',
          noCache: false,
        },
        component: () => import('@/views/cache/CacheListView.vue')
      },
    ]
  },
]

export default SystemRoutes
